/***
 * @Author: your name
 * @Date: 2024-03-18 21:03:57
 * @LastEditTime: 2024-03-18 21:18:37
 * @LastEditors: your name
 * @Description:
 * @FilePath: \Projectc:\Users\ergouzi\Desktop\stepper—梯形加减速实现\User\control\control.h
 * @可以输入预定的版权声明、个性签名、空行等
 */
#ifndef __CONTROL_H
#define __CONTROL_H

#include "main.h"

void stepper_moto_go(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);
void stepper_moto_back(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);
void stepper_moto_left(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);
void stepper_moto_right(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);
void stepper_moto_left_shift(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);
void stepper_moto_right_shift(int32_t step, uint32_t accel, uint32_t decel, uint32_t speed);

#endif
